import request from '@/utils/request'

export function updateLineChart(query) {
  return request({
    url: '/dataManagement/updateData',
    method: 'get',
    params: { query }
  })
}
export function updateRealTimeLineChart(query) {
  return request({
    url: '/dataManagement/updateRealTimeData',
    method: 'get',
    params: { query }
  })
}
export function fetchEquipmentNumberOptions() {
  return request({
    url: '/dataManagement/getEquipmentNumberOptions',
    method: 'get'
  })
}
